using Nop.Core.Domain.Customers;
namespace Nop.Core.Domain.WindAlert
{
    /// <summary>
    /// Represents a product category mapping
    /// </summary>
    public partial class Alert : BaseEntity
    {
        /// <summary>
        /// Gets or sets the spots group identifier
        /// </summary>
        public int SpotsGroupId { get; set; }

        /// <summary>
        /// Gets or sets the customer identifier
        /// </summary>
        public int CustomerId { get; set; }

        /// <summary>
        /// Gets or sets a value speed
        /// </summary>
        public string Intensity { get; set; }

        public int AlertOptionId { get; set; }

        /// <summary>
        /// Gets or sets the theme type
        /// </summary>
        public AlertOption AlertOption
        {
            get
            {
                return (AlertOption)this.AlertOptionId;
            }
            set
            {
                this.AlertOptionId = (int)value;
            }
        }

        /// <summary>
        /// Gets the Customer
        /// </summary>
        public virtual Customer Customer { get; set; }

        /// <summary>
        /// Gets the SpotsGroup
        /// </summary>
        public virtual SpotsGroup SpotsGroup { get; set; }

    }

}
